home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 21 / Cream of the Crop 21 (Terry Blount) (October 1996).iso / bbs / pad311.zip / OUT.MH < prev    next >
Text File  |  1996-08-21  |  679b  |  35 lines

  1. #ifndef __OUT_MH
  2. #define __OUT_MH
  3.  
  4. //struct _output_event {
  5. //  string: filename, usr_msg, log_msg;
  6. //  };
  7.  
  8. //void show_file (string: filename) {
  9. //  char: nonstop;
  10. //  if (filename = "") return;
  11. //  nonstop := 0;
  12. //  display_file (filename, nonstop);
  13. //  }
  14.  
  15. //void show (struct _output_event: ev) {
  16. //  if (ev.log_msg <> "") log (ev.log_msg);
  17. //  print (ev.usr_msg);
  18. //  show_file (ev.filename);
  19. //  }
  20.  
  21. void print_direct (string: message) {
  22.   int: oldSetting;
  23.  
  24.   oldSetting := set_output (DISABLE_REMOTE);
  25.   print (message);
  26.   set_output (oldSetting);
  27.   }
  28.  
  29. void println_direct (string: message) {
  30.   print_direct (message + "\n");
  31.   }
  32.  
  33.  
  34. #endif
  35.